package com.ynny.project07.dao;

import com.ynny.project07.entity.Student;
import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;

public  interface StudentDao {

    //根据学生姓名修改
    String updateStudent(String name, String newGrade);

     Student selectStudent(String number);

     List <Student> selectAll();

    void setJdbcTemplate(JdbcTemplate jdbcTemplate);
}
